package com.isoft.hospital.dao;

import com.isoft.hospital.entity.Jiuzhen1;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface Jiuzhen1Dao {
    @Select("select * from jiuzhen")
    List<Jiuzhen1> selectAll();
    @Select("select * from jiuzhen where p_id=#{p_id}")
    List<Jiuzhen1> queryByPid(int p_id);
}
